<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:h="http://xmlns.jcp.org/jsf/html"
                xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
                xmlns:p="http://primefaces.org/ui"
                xmlns:f="http://xmlns.jcp.org/jsf/core">
  

    <p:dataTable var="item" value="#{problemCreateMB.currentProblem.attendanceList}" paginator="true" rows="5"
                     paginatorTemplate="{RowsPerPageDropdown} {FirstPageLink} {PreviousPageLink} {CurrentPageReport} {NextPageLink} {LastPageLink}"
                     rowsPerPageTemplate="5,10,15"   id="attendanceTable" >
            <!--<p:ajax event="rowSelect" listener="#{userroleMB.onRowSelect}" update=":form:detail" oncomplete="PF('detailDialog').show()" />-->

            <p:column headerText="#{bundle.plate}" sortBy="#{item.idvehicle.plate}" filterBy="#{item.idvehicle.plate}">
                <h:outputText value="#{item.idvehicle.plate}" />
            </p:column>
            <p:column headerText="#{bundle.driver}" sortBy="#{item.iddriver.iduser.name}" filterBy="#{item.iddriver.iduser.name}">
                <h:outputText value="#{item.iddriver.iduser.name}" />
            </p:column>
            <p:column headerText="#{bundle.driver}#{bundle.tel}" sortBy="#{item.iddriver.iduser.tel}" filterBy="#{item.iddriver.iduser.tel}">
                <h:outputText value="#{item.iddriver.iduser.tel}" />
            </p:column>
 
        </p:dataTable>
        <p:blockUI block="attendanceTable" trigger="attendanceTable">
            LOADING<br />
            <p:graphicImage name="img/ajaxloadingbar.gif"/>
        </p:blockUI>
     

</ui:composition>

